package com.zhijiang.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 用户角色绑定表
 */
@Data
@TableName(value = "SYS_USER_ROLE")
public class SysUserRole {


    private static final long serialVersionUID = 1L;
    /**
     * 编号
     */
    @TableId(value = "CODE", type = IdType.ASSIGN_ID)
    private String code;

    /**
     * 用户id
     */
    @TableField(value = "USERID")
    private String userid;

    /**
     * 角色id
     */
    @TableField(value = "ROLEID")
    private String roleid;


}
